home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / GraphicViewers / pCD / Source / Overviews.subproj / OV_Window.h < prev    next >
Text File  |  1993-01-16  |  1KB  |  44 lines

  1.  
  2. #import <appkit/appkit.h>
  3.  
  4. //  pCD_Types defines ov_Tags, and is_Tags (the values of which
  5. //           must match Tags in nib files), and ovImageArray.
  6. #import "../pCD_Types.h"
  7.  
  8. @interface OV_Window:Object
  9. {
  10.     // for "internal" ids (those which are not IB-connected)
  11. #   define intr_id id
  12.  
  13.     id    ovImageMatrix;
  14.     id    ovRangeMatrix;
  15.     id  ovOpenAtMenuButton;
  16.     id    ovOpenAsResolutionMenuButton;
  17.     id    ovWindow;
  18.     id    mainController;        // expected to be class pCD/Controller.h
  19.  
  20.     enum is_Tags ovOpenImageAtSize;
  21.     int        ovOpenImageAsResolution;
  22.     int        initialOverviewPict;
  23.     int        ovImageCount;
  24.     ovImageArray *ovImageIds;
  25. }
  26.  
  27. /*  actions that only objects in this nib will call */
  28. - selectOverviewRange:sender;
  29. - showOverviewImage:sender;
  30. - setOpenImageSize:sender;
  31. - setOpenImageResolution:sender;
  32.  
  33. - (int)getMaxImageTag;    // makes it easy to write subclasses
  34. - (int)getMaxRangeTag;  // also to make subclasses easy to write
  35. - getMyButtonImageSize:(NXSize *)aSize;
  36.  
  37. /*  actions that the controller class will call */
  38. - closeOverviewPanel:sender;
  39. - setImageArray:(ovImageArray *)arrayPtr imageCount:(int)count;
  40. - showOverview;
  41.  
  42.  
  43. @end
  44.